<?php
session_start();
error_reporting(0);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script language="javascript">
function validasi(form){
  if (form.username.value == ""){
    alert("Anda belum mengisikan Username.");
    form.username.focus();
    return (false);
  }
     
  if (form.password.value == ""){
    alert("Anda belum mengisikan Password.");
    form.password.focus();
    return (false);
  }
  return (true);
}
</script>
<link href="../config/css/admin.css" rel="stylesheet" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Administrator</title>
</head>

<body OnLoad="document.login.username.focus();" bgcolor="#99FFFF">
<div class="layout">
<div class="banner"></div>
<div class="info"><marquee>Selamat datang di fasilitas layanan Administrator</marquee></div>
<div class="fm_login">
<form name="login" action="cek_login.php" method="POST" onSubmit="return validasi(this)">
<div class="tbl_login">
<div class="tbl">
<table width="251">
<tr><td width="76">Username</td>
<td width="163"> : 
  <input type="text"  class="name"name="username" ></td></tr>
<tr><td>Password</td><td> : <input type="password" class="pass" name="password" ></td></tr>
<tr><td colspan="2"><input type="submit" class="tombol" value="Login"> </td></tr>
</table>
</div>
</form>
</div>
<div class="footer">
CopyRight &copy; 2013 STIE INDONESIA pg All Right Reserved
</div>
</div>
</body>
</html>
